\hypertarget{class_mathematica_translator_1_1_m_t_unary_operator}{
\section{\-Mathematica\-Translator\-:\-:\-M\-T\-Unary\-Operator \-Class \-Reference}
\label{class_mathematica_translator_1_1_m_t_unary_operator}\index{\-Mathematica\-Translator\-::\-M\-T\-Unary\-Operator@{\-Mathematica\-Translator\-::\-M\-T\-Unary\-Operator}}
}
\-Inheritance diagram for \-Mathematica\-Translator\-:\-:\-M\-T\-Unary\-Operator\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{class_mathematica_translator_1_1_m_t_unary_operator}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_mathematica_translator_1_1_m_t_unary_operator_acc34e0c4411947bc2397823dab4352cb}{
{\bfseries \-M\-T\-Unary\-Operator} (\hyperlink{class_mathematica_translator_1_1_m_t_expression}{\-M\-T\-Expression} \&expr, const std\-::string \&op, int type)}
\label{class_mathematica_translator_1_1_m_t_unary_operator_acc34e0c4411947bc2397823dab4352cb}

\item 
virtual std\-::string $\ast$ \hyperlink{class_mathematica_translator_1_1_m_t_unary_operator_a7591288fe3da74b9df41e313dc4a5a22}{generate\-Code} (\hyperlink{class_mathematica_translator_1_1_code_gen_context}{\-Code\-Gen\-Context} \&context)
\item 
\hypertarget{class_mathematica_translator_1_1_m_t_unary_operator_a81cb27c231c0af1ec1a13869059b23e6}{
virtual std\-::string $\ast$ \hyperlink{class_mathematica_translator_1_1_m_t_unary_operator_a81cb27c231c0af1ec1a13869059b23e6}{get\-Type} ()}
\label{class_mathematica_translator_1_1_m_t_unary_operator_a81cb27c231c0af1ec1a13869059b23e6}

\begin{DoxyCompactList}\small\item\em \-Get the best type that fits the underlying expression. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{\-Public \-Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_mathematica_translator_1_1_m_t_unary_operator_a4a1c151f4e568cd78c51938787a67571}{
std\-::string {\bfseries op}}
\label{class_mathematica_translator_1_1_m_t_unary_operator_a4a1c151f4e568cd78c51938787a67571}

\item 
\hypertarget{class_mathematica_translator_1_1_m_t_unary_operator_aab5ed84d98a915eebe55ad3a7420c352}{
\hyperlink{class_mathematica_translator_1_1_m_t_expression}{\-M\-T\-Expression} \& {\bfseries expr}}
\label{class_mathematica_translator_1_1_m_t_unary_operator_aab5ed84d98a915eebe55ad3a7420c352}

\item 
\hypertarget{class_mathematica_translator_1_1_m_t_unary_operator_a9de1d1bfcae0d6ba904f3f1d43f77b7e}{
int {\bfseries type}}
\label{class_mathematica_translator_1_1_m_t_unary_operator_a9de1d1bfcae0d6ba904f3f1d43f77b7e}

\end{DoxyCompactItemize}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{class_mathematica_translator_1_1_m_t_unary_operator_a7591288fe3da74b9df41e313dc4a5a22}{
\index{\-Mathematica\-Translator\-::\-M\-T\-Unary\-Operator@{\-Mathematica\-Translator\-::\-M\-T\-Unary\-Operator}!generate\-Code@{generate\-Code}}
\index{generate\-Code@{generate\-Code}!MathematicaTranslator::MTUnaryOperator@{\-Mathematica\-Translator\-::\-M\-T\-Unary\-Operator}}
\subsubsection[{generate\-Code}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string $\ast$ \-Mathematica\-Translator\-::\-M\-T\-Unary\-Operator\-::generate\-Code (
\begin{DoxyParamCaption}
\item[{{\bf \-Code\-Gen\-Context} \&}]{context}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{class_mathematica_translator_1_1_m_t_unary_operator_a7591288fe3da74b9df41e313dc4a5a22}
\-Main method to print the result of translating into \-C++ from \-Mathematica 
\begin{DoxyParams}{\-Parameters}
{\em context} & current variable context \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
allocated string with translation 
\end{DoxyReturn}


\-Reimplemented from \hyperlink{class_mathematica_translator_1_1_m_t_expression_ae60846398fde87b09c242b5ea263586e}{\-Mathematica\-Translator\-::\-M\-T\-Expression}.



\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\-M\-T\-Unary\-Operator.\-hpp\item 
\-M\-T\-Unary\-Operator.\-cpp\end{DoxyCompactItemize}
